package zigzag.designpattern.observer;

import java.util.Observable;
import java.util.Observer;

public class ItemObserver implements Observer{

	public void update(Observable obsrv, Object obj) {
		if (obj instanceof String){
			System.out.println("Notification received: " + obj);
		}
	}
}
